﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace RndMaterialDisposalService.Models.Entitys
{
    /// <summary>
    /// 
    /// </summary>
    [Table("CarConfiguration")]
    public class CarConfigurationDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public Guid SysID { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string? CarNumber { get; set; }
        /// <summary>
        /// 车身颜色
        /// </summary>
        public string? CarColor { get; set; }
        /// <summary>
        /// 车型
        /// </summary>
        public string? CarType { get; set; }
        /// <summary>
        /// 是否自有车辆
        /// </summary>
        public bool? PrivateCar { get; set; }
        /// <summary>
        /// 司机工号
        /// </summary>
        public string? DriverId { get; set; }
        /// <summary>
        /// 司机名
        /// </summary>
        public string? DriverName { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string? DriverPhone { get; set; }
        /// <summary>
        /// 部门编码
        /// </summary>
        public string? UserDeptCode { get; set; }
        /// <summary>
        /// 部门名
        /// </summary>
        public string? UserDeptName { get; set; }
        /// <summary>
        /// 租赁开始时间
        /// </summary>
        public DateTime? LeaseStartDate { get; set; }
        /// <summary>
        /// 租赁结束时间
        /// </summary>
        public DateTime? LeaseEndDate { get; set; }
        /// <summary>
        /// 购买日期
        /// </summary>
        public DateTime? BuyDate { get; set; }
        /// <summary>
        /// 购买价格
        /// </summary>
        public string? BuyPrice { get; set; }
        /// <summary>
        /// 发动机号
        /// </summary>
        public string? CarEngineIdentity { get; set; }
        /// <summary>
        /// 车架号
        /// </summary>
        public string? CarFrameNumber { get; set; }
        /// <summary>
        /// 行驶证到期日
        /// </summary>
        public DateTime? DrivingLicenseDate { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreaterBy { get; set; }

    }
}
